﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Agile.Manager.UI.Windows.ViewModel;

namespace Agile.Manager.Windows.View
{
    public static class TaskManagement
    {
        public static void EditTaskDetailInfo(TaskViewModel _tvm)
        {
            TaskDetailInfoView tdIV = new TaskDetailInfoView();
            TaskDetailInfoViewModel tdIVM = tdIV.DataContext as TaskDetailInfoViewModel;
            tdIVM.SelectedTask = _tvm.SelectedTask;
            tdIV.Visibility = System.Windows.Visibility.Visible;
        }
    }
}
